package com.pdsu.graduation_design.domain;

public class Agriculture {
    private int aid;
    private int uid;
    private String type;
    private String image;
    private String message;
    private String title;
    private String time;

    public Agriculture() {
    }

    @Override
    public String toString() {
        return "Agriculture{" +
                "aid=" + aid +
                ", uid=" + uid +
                ", type='" + type + '\'' +
                ", image='" + image + '\'' +
                ", message='" + message + '\'' +
                ", title='" + title + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Agriculture(int aid, int uid, String type, String image, String message, String title, String time) {
        this.aid = aid;
        this.uid = uid;
        this.type = type;
        this.image = image;
        this.message = message;
        this.title = title;
        this.time = time;
    }
}
